package com.adnaan.backend.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * author: adnaan
 * create: 2025-02-22 14:03
 * Description:
 */
@Data
@Schema(name = "提交药膳用量实体")
public class DosageVo {

    @Schema(description = "药膳id")
    private Long dishId;

    @Schema(description = "药膳用量")
    private List<MedicinalDosage> dosage;

    @Data
    @Schema(name = "药膳用量")
    public static class MedicinalDosage {

        @Schema(description = "药材id")
        private Long materialId;

        @Schema(description = "药材用量")
        private String dosage;
    }
}
